package dto;

import java.util.Date;

public class TestDTO {
	private int _id;
	private Date _testDate;
	private int _doctorID;
	public int _patientID;
	
	@SuppressWarnings("deprecation")
	public TestDTO() {
		this._id = 0;
		this._testDate = new Date(1991, 11, 8, 1, 1, 1);
		this._doctorID = 0;
		this._patientID = 0;
	}
	
	public TestDTO(TestDTO test) {
		this._id = test._id;
		this._testDate = test._testDate;
		this._doctorID = test._doctorID;
		this._patientID = test._patientID;
	}
	
	public TestDTO(int id, Date testDate, int doctorID, int patientID) {
		this._id = id;
		this._testDate = testDate;
		this._doctorID = doctorID;
		this._patientID = patientID;
	}
	
	public void update(TestDTO test) {
		this._testDate = test._testDate;
		this._doctorID = test._doctorID;
		this._patientID = test._patientID;
	}
	
	public void setID(int id) {
		this._id = id;
	}
	public void setTestDate(Date testDate) {
		this._testDate = testDate;
	}
	public void setDoctorID(int doctorID) {
		this._doctorID = doctorID;
	}
	public void setPatientID(int patientID) {
		this._patientID = patientID;
	}
	
	public int getID() {
		return this._id;
	}
	public Date getTestDate() {
		return this._testDate;
	}
	public int getDoctorID() {
		return this._doctorID;
	}
	public int getPatientID() {
		return this._patientID;
	}
}
